import arcpy

fc = r'D:\000\新绛文件\新绛.mdb\DJZQ'
file = open("D:\\out.txt","w")


for row in arcpy.da.SearchCursor(fc,["OID@","SHAPE@"]):
	file.write("Feature{}:".format(row[0]))
	part_num=1
	for part in row[1]:
		file.write("Part{}:".format(part_num))
		pt_num=1
		for point in part :
	 		if point:
				file.write("point{}:{},{},{},{},{},{},{},{},{},{},{},{},{}".format(pt_num,point.ID,point.M,point.X,point.Y,point.Z,point.clone,point.contains,point.crosses,point.disjoint,point.equals,point.overlaps,point.touches,point.within))  # point {ID,M,X,Y,Z,clone,contains,crosess,disjoint,equals,overlaps,touches,within}
			else:
				file.write("InteriorRing:")
				pt_num -=1
			pt_num+=1
		part_num+=1
file.close()